<?php

    echo $this->Form->create('Room',array('controller' => 'rooms','action' => 'edit')); 

    
    /*echo $this->Form->input('name',array(
        'label' => array('text' => 'Name','class' => ''),
        'type' => 'text'
    ));*/
    
    echo $this->Form->input('floor',array(
        'label' => array('text' => 'Floor','class' => ''),
        'type' => 'text'
    ));

    echo $this->Form->input('number',array(
        'label' => array('text' => 'Number','class' => ''),
        'type' => 'text'
    ));

    echo $this->Form->input('section',array(
        'label' => array('text' => 'Section','class' => ''),
        'type' => 'text'
    ));

    echo $this->Form->input('service_id',array(
        'label'     => array('text' => 'Type','class' => ''),
        'type'      => 'select',
        'empty'     => __('None defined',true),
        'options'   => $roomTypes
    ));

    echo $this->Form->input('details',array(
        'label' => array('text' => 'Description','class' => ''),
        'type' => 'textarea',
        'col'  => 20,
        'row'  => 20
    ));
   
    echo $this->Form->end('Create');
    echo $this->Form->button('Cancel');
?>